﻿namespace NOAH.CMS.Repository
{
    using System;
    using System.Collections.Generic;
    using System.Linq;

    public class LinkRepository : Repository<Link>
    {

        public List<Link> GetHomeLink(int limit)
        {
            return GetTable().Where(p => p.IsPublish == true).Take(limit).ToList();
        }

    }
}

